<?php 
	include 'init.php';
?>
<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>

	<link rel="stylesheet" href="<?= PUB_CSS?>commond.css">

	<link rel="stylesheet" href="<?= CSS?>nva.css">
</head>

<body>
	<div class='nav'>
		<div class='shortcut'>
			<div class='layout'>
			<ul class='top clear'>
				<li class ='gw '>华为官网</li>
				<li class ='ry'>华为荣耀</li>
				<li class ='yy'><div class='rj'>软件应用</div></li>
				<li class ='job'>花粉俱乐部</li>
				<li><div>网站导航</div></li>
				<li>手机版</li>	
				<li>v码(优码购)</li>
				<li>我的订单</li>
				<li>
					<div>
					<?php if($_SESSION['home']): ?>
					<a class="login" href="login.php"><?= empty($_SESSION['home']['nickname'])? $_SESSION['home']['tel']:$_SESSION['home']['nickname']    ?></a>
					<a class="reg2" href="login/action.php?bz=logout">退出</a>
						<?php else: ?>		
					<a href="<?= URL?>home/login/login.php">登录</a>
					<span class="line">|</span>

					<a href="<?= URL?>home/login/reg.php">注册</a>
					<?php endif; ?>
					</div>
				</li>
				
			</ul>
		</div>
	</div> 
	</div>